package com.swind.fast.modules.app.space.rent.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import com.swind.fast.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import lombok.Builder;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import com.swind.fast.common.system.base.entity.SwindEntity;

/**
 * @Description: 合同
 * @Author: swind
 * @Date:   2021-11-20
 * @Version: V1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("ac_space_contract_bill")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="合同", description="合同")
public class SpaceContractBill extends SwindEntity {

    @ApiModelProperty(value = "所属合同")
    @Dict(dictTable ="ac_space_contract", dicText = "number", dicCode = "id")
    private java.lang.String contractId;

    /**项目*/
    @ApiModelProperty(value = "所属客户")
    @Dict(dictTable ="ac_space_customer", dicText = "title", dicCode = "id")
    private java.lang.String customerId;

    /**项目*/
    @ApiModelProperty(value = "所属房源")
    @Dict(dictTable ="ac_space_room", dicText = "room", dicCode = "id")
    private java.lang.String roomId;

    @ApiModelProperty(value = "金额")
    private java.lang.String price;

    @ApiModelProperty(value = "开始时间")
    private java.lang.String startDate;

    @ApiModelProperty(value = "结束时间")
    private java.lang.String endDate;

    @ApiModelProperty(value = "提醒时间")
    private java.lang.String remindDate;

    @ApiModelProperty(value = "状态")
    @Dict(dicCode = "ac_contract_bill_status")
    private java.lang.Integer status;

    // public SpaceContractBill(String contractId, String customerId, String roomId, String price, String startDate, String endDate) {
    //     this.contractId = contractId;
    //     this.customerId = customerId;
    //     this.roomId = roomId;
    //     this.price = price;
    //     this.startDate = startDate;
    //     this.endDate = endDate;
    // }
}
